package com.hw.paltfrom.controller.mainscreen;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.hw.paltfrom.service.mainscreen.OverRunStationStreamServer;

@RestController
@RequestMapping(value = "/overRunStationScan")
public class OverRunStationStreamController {
	@Autowired
	private OverRunStationStreamServer server;
	@RequestMapping(value = "/query")
	public Map<String, Object> Query() {
		return server.query();
	}
	
	@RequestMapping(value = "/queryHistory")
	public Map<String, Object> queryHistory() {
		return server.queryHistory();
	}
	
}
